﻿@model LogDTO[]
@{
    ViewBag.Title = "List";
    Layout = "~/Views/Shared/_Layout.cshtml";
}


<section class="layui-larry-box">
    <div class="larry-personal">
        <div class="layui-tab">
            <blockquote class="layui-elem-quote log_search">
                <div class="layui-inline">
                    <a class="layui-btn layui-btn-normal logAdd_btn">添加日志</a>
                </div>           
                <div class="layui-inline">
                    <a class="layui-btn layui-btn-danger batchDel">批量删除</a>
                </div>
                <div class="layui-inline">
                    <div class="layui-form-mid layui-word-aux">本页面刷新后除新添加的数据外所有操作无效，关闭页面所有数据重置</div>
                </div>
                <div class="layui-inline">
                    <span class="layui-form-mid">共有<span style="font-weight: bold"> @Model.LongCount() </span>条数据</span>
                </div>
            </blockquote>

            <!-- 操作日志 -->
            <div class="layui-form log_list">
                <table class="layui-table">
                    <colgroup>
                        <col width="10%">
                        <col>
                        <col>
                        <col>
                    </colgroup>
                    <thead>
                        <tr>
                            <th>
                                <input name="" lay-skin="primary" lay-filter="allChoose" id="allChoose" type="checkbox">
                                <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                                    <i class="layui-icon"></i>
                                </div>
                            </th>
                            <th>管理员</th>
                            <th>操作描述</th>
                            <th>操作日期</th>
                        </tr>
                    </thead>
                    <tbody class="log_content">
                        @foreach (var item in Model)
                        {
                            <tr>
                                <td>


                                    <input name="checked" lay-skin="primary" lay-filter="choose" type="checkbox">
                                    <div class="layui-unselect layui-form-checkbox" lay-skin="primary"><i class="layui-icon"></i></div>
                                </td>
                                <th>@item.AdminUserName</th>
                                <th>@item.Describle</th>
                                <th>@item.CreateDateTime</th>
                            </tr>
                        }

                    </tbody>
                </table>
                @*<div class="larry-table-page clearfix">
                    <div id="page" class="page"></div>
                </div>*@
            </div>

        </div>
    </div>

</section>

@section FooterScript{
    <script type="text/javascript">

        var appConfig = {
            
        };
    </script>
}

